import axios from "axios"

export function getSearchList () {
  const res = axios.get('http://localhost:5000/api/searchlist')
  return res
}

export function getArticleList() {
  const res = axios.get('http://localhost:5000/api/articlelist')
  return res
}

export function getTopicList() {
  const res = axios.get('http://localhost:5000/api/topiclist')
  return res
}
